package com.smartcampusbackend.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

@Data
@TableName("graduation_application")
public class GraduationApplication {
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long studentId;
    private LocalDateTime applicationDate;
    private String status;
    private Boolean isCreditSufficient;
    private Boolean isWarningResolved;
    private String rejectReason;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long reviewerId;
    private LocalDateTime reviewDate;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 